Skip to content

skip line that seems to be a long binary line.#8

Open
Ophtis wants to merge 1 commit intomaxWiklund:masterfrom
MATHEMATIC-STD:skip_binary_line
Open

skip line that seems to be a long binary line.#8
Ophtis wants to merge 1 commit intomaxWiklund:masterfrom
MATHEMATIC-STD:skip_binary_line

Conversation

@Ophtis
Copy link
Copy Markdown

@Ophtis Ophtis commented Apr 27, 2026

Hello,

Thanks for your tool, its great !

We created this PR because we ran into a performance issue encountered when parsing certain nodes from third-party plugins, such as Optical Flares.
They store extremely large strings that seems to be a precompiled hex, and running regex operations on these values significantly impacts performance.

Since these particular fields are not required for recreating the node graph, this PR proposes skipping them during parsing. (made by @Rogouan )

Here is an exemple of its data (I cropped the string for convinience) :

OpticalFlares {
 renderOptions "117599;4f465003b80b01000032000400180000003300040006000000340020000000000000000000000000000000000000000000000000000000000000000000d00701000032000400700000003300040000000000340020000000c84200000000000000000000000000000000000000000000000000000000d007010000320004"
 name OpticalFlares1
 xpos 4405
 ypos 11095
}

Thanks !

@maxWiklund
Copy link
Copy Markdown
Owner

Hi @Ophtis Thank you for taking the time to make the pull request! Do you have an example nk file to setup a integration test? Just a few nodes for testing.

With kind regards,
Max.

@Ophtis
Copy link
Copy Markdown
Author

Ophtis commented May 4, 2026

Yes, I did a small setup for you to test including the optical flare, you can download it here :
https://www.swisstransfer.com/d/d037e299-9851-4e88-88ca-2740e844262e

(you won't be able to see the result if you don't have the Video Copilot licence btw).
I hope it's enough for your tests.

Let me know if you need something else !

Kind regards,
Sophie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants